package com.lanyuan.a.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="ly_window_food")
public class WindowFood {
	private int id;
	private int w_f_id;
	private int w_id;
	private String w_name;
	private int c_id;
	private String c_name;
	private int f_id;
	private String f_name;
	private String f_type;
	private int f_salenum;
	private double f_price;
	@Id
	@GenericGenerator(name = "generator", strategy = "native")
	@GeneratedValue(generator = "generator")
	@Column(name = "id", length = 20)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Column(name = "w_id", length = 20)
	public int getW_id() {
		return w_id;
	}
	public void setW_id(int w_id) {
		this.w_id = w_id;
	}
	@Column(name = "w_name", length = 20)
	public String getW_name() {
		return w_name;
	}
	public void setW_name(String w_name) {
		this.w_name = w_name;
	}
	@Column(name = "c_id", length = 20)
	public int getC_id() {
		return c_id;
	}
	public void setC_id(int c_id) {
		this.c_id = c_id;
	}
	@Column(name = "c_name", length = 20)
	public String getC_name() {
		return c_name;
	}
	public void setC_name(String c_name) {
		this.c_name = c_name;
	}
	@Column(name = "f_name", length = 20)
	public String getF_name() {
		return f_name;
	}
	public void setF_name(String f_name) {
		this.f_name = f_name;
	}
	@Column(name = "w_f_id", length = 20)
	public int getW_f_id() {
		return w_f_id;
	}
	public void setW_f_id(int w_f_id) {
		this.w_f_id = w_f_id;
	}
	@Column(name = "f_id", length = 20)
	public int getF_id() {
		return f_id;
	}
	public void setF_id(int f_id) {
		this.f_id = f_id;
	}
	@Column(name = "f_type", length = 20)
	public String getF_type() {
		return f_type;
	}
	public void setF_type(String f_type) {
		this.f_type = f_type;
	}
	@Column(name = "f_salenum", length = 20)
	public int getF_salenum() {
		return f_salenum;
	}
	public void setF_salenum(int f_salenum) {
		this.f_salenum = f_salenum;
	}
	@Column(name = "f_price", length = 20)
	public double getF_price() {
		return f_price;
	}
	public void setF_price(double f_price) {
		this.f_price = f_price;
	}
	
}
